package org.gd.hellojaxb.privat24.statements;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "panAcc")
public class StatementsPanAcc {

    @XmlElement(name = "summary")
    private StatementsSummary summary;
    @XmlElement(name = "list")
    private StatementsList statementsList;

    public StatementsPanAcc() {
        summary = new StatementsSummary();
        statementsList = new StatementsList();
    }

    public StatementsSummary getSummary() {
        return summary;
    }

    public List<StatementsRow> getStatementsList() {
        return statementsList.getStatementsList();
    }
}
